package com.yang.moyu.meta.system.service.impl;

import com.yang.moyu.meta.system.mapper.SysRolePermissionMapper;
import com.yang.moyu.meta.system.service.SysRolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * Create by 10296 on 2021/12/16
 *
 * @Description:
 */
@Service
public class SysRolePermissionServiceImpl implements SysRolePermissionService {

    @Autowired
    private SysRolePermissionMapper rolePermissionMapper;


    @Override
    public Set<String> getPermissionCodesByRoleId(String roleId) {


        return rolePermissionMapper.getPermissionCodesByRoleId(roleId);
    }
}
